package com.lib76.socket;

import com.lib76.socket.IStatusController;
import com.lib76.socket.model.SocketChannel;

public class SimpleStatusController implements IStatusController{

	public void channelConnected(SocketChannel channel) {
		System.out.println("连接：" +channel.getId());
	}

	public void channelClosed(SocketChannel channel) {
		System.out.println("关闭：" +channel.getId());
	}

	public boolean disconnected() {
		System.out.println("断开连接");
		return false;
	}

}
